﻿namespace YnabCsvConverter.Core
{
   using System;

   /// <summary>
   /// Author Attribute of Converter.
   /// </summary>
   [System.AttributeUsage(System.AttributeTargets.Class)]
   public class ConverterAuthorAttribute : Attribute
   {
      /// <summary>
      /// Initializes a new instance of the <see cref="ConverterAuthorAttribute" /> class.
      /// </summary>
      /// <param name="nameOfAuthor">The name of the converter author.</param>
      public ConverterAuthorAttribute(string nameOfAuthor)
      {
         Author = nameOfAuthor;
      }

      /// <summary>
      /// Gets or sets the author.
      /// </summary>
      /// <value>
      /// The author.
      /// </value>
      public string Author { get; set; }
   }
}
